var fs = require("fs");

var stream = fs.createReadStream("resource.json");
stream.on("data",function(trunk){
    console.log(trunk);
});
stream.on("end",function(){
    console.log("finished!");
});